#include <QCoreApplication>
#include <iostream>
using namespace std;
int main()
{
 int  e;
e=365%7;
 cout<<"DEn nedeli="<<e;
}
